<div>
  <%= link_to "Statement",:action =>"station_statement" %>
  <%= link_to "Badday",:action =>"station_badday" %>
  <%= link_to "Question",:action =>"station_question" %>
</div>
<div class="clear c25">&nbsp;</div>
<div class="boxy">
  <a class="subhead">Category</a>
  <div class="scroll">
    <%if !@category.blank?%>
      <%= link_to "All",{:action =>"station_question"} %>
      <%  @category.each do |cat|%>
        <%= link_to "#{cat.title}",{:action =>"station_question",:cat=>"#{cat.id}"} %>
      <%end%>
    <%end%>
  </div>
</div>
<div class="clear c25">&nbsp;</div>
<p style="color:green;"><%= flash[:comment_ss] if flash[:comment_ss] %></p>
<p style="color:red;"><%= flash[:comment_err] if flash[:comment_err] %></p>
<div class="clear c25">&nbsp;</div>
<div class="boxy">
  <a class="subhead">Question</a>
  <div class="scroll">
    <% if !@question.nil? %>
      <% @question.each do |q| %>
        <p><b><%= q.message %></b></p>
        <p>created at :<%= q.created_at %> - by :<%= q.user.login %></p>
        <p>Good question : <%= q.agree %> | Bad question : <%= q.disagree %> </p>
        <% if !q.comments.nil? %>
          <p>Comments</p>
          <% q.comments.each do |ans| %>
			<% if !ans.message.blank? %>
            <p><%= ans.message %></p>
            <p>created at :<%= ans.created_at %> - by :<%= ans.commentator %></p>
            <p><%= link_to image_tag("/images/thumb_up_off.png"),comment_vote_up_workspaces_path(ans.id) %><%= link_to image_tag("/images/thumb_down_off.png"),comment_vote_down_workspaces_path(ans.id) %></p>
            <p>agree : <%= ans.agree %> | disagree : <%= ans.disagree %> </p>
			<%end%>
          <%end%>
        <%end%>
      <%end%>
    <%end%>
  </div>
</div>
